//
// Created by chenlei on 2/19/16.
//

#ifndef TEST_MUDUO_MYDIALOG_H
#define TEST_MUDUO_MYDIALOG_H

#include "ui/ui_test_dialog.h"

/**
 * ui  and dialog
 */
class MyDialog: public QDialog, public Ui::Dialog{

    Q_OBJECT

public:
    /**
     *
     */
    MyDialog(QWidget *widget=0);


private slots:

    /**
     *
     */
    virtual void  accepts();

    /***
     *
     */
    void cancell();


    /**
     *
     */
    void getText(const QString &);

};

#endif //TEST_MUDUO_MYDIALOG_H
